<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <style>
        table,th,td{
            width: 50px;
            border: 1px  solid #333;
        }
        table{
            /* 关键样式 */
            border-collapse: collapse;
            line-height: 50px;
            text-align: center;
        }
    
    </style>
</head>
<body>
    <table>
       <thead>
           <!--
               tr table row 
           -->
           <tr><th>商城</th><th>手机</th></tr>
       </thead>
       <tbody>
           <!--
               table data
           -->
           <tr><td>JD</td><td>苹果</td></tr>
           <tr><td>Tmall</td><td>小米</td></tr>
           <tr><td>苏宁</td><td>华为</td></tr>
       </tbody>
    </table>
</body>
</html>